﻿using System.Collections.Generic;

namespace Bilibili.Model.Bangumi
{
    public sealed class BangumiDetail
    {
        public int Code { get; set; }
        public string Message { get; set; }
        public BangumiDetail Result { get; set; }
        public string Actor { get; set; }
        public string Alias { get; set; }
        public string Cover { get; set; }
        public string Evaluate { get; set; }
        public int Media_Id { get; set; }
        public string Origin_Name { get; set; }
        public string Staff { get; set; }
        public List<BangumiDetail> Area { get; set; }
        public string Area_Str
        {
            get
            {
                if (Area == null || Area.Count == 0)
                    return "未知地区";
                else
                    return Area[0].Name;
            }
        }
        public List<BangumiDetail> Style { get; set; }
        public int Id { get; set; }
        public string Name { get; set; }
        public int Type_Id { get; set; }
        public string Type_Name { get; set; }
        public BangumiDetail Publish { get; set; }
        public int Is_Finish { get; set; }
        public int Is_Multi { get; set; }
        public int Is_Started { get; set; }
        public string Pub_Date { get; set; }
        public string Pub_Date_Show { get; set; }
    }
}